<?php
namespace Helper;

class Circle
{
    /**
     * @var float
     * @access private
     */
    private $x;
    private $y;
    private $z;

    /**
     * @var float
     * @access private
     */
    private $radius;

    /**
     * Circle constructor.
     * @param $x
     * @param $y
     * @param $z
     * @param $radius
     */
    public function __construct($x, $y,$z, $radius)
    {
        $this->x = $x;
        $this->y = $y;
        $this->z = $z;
        $this->radius = $radius;
    }

    /**
     * Get centre latitude
     *
     * @return float
     */
    public function getx()
    {
        return $this->x;
    }

    /**
     * Get centre longitude
     *
     * @return float
     */
    public function gety()
    {
        return $this->y;
    }

    public function getz()
    {
        return $this->z;
    }

    public function getVector(){
        return  new Vector(array($this->x, $this->y, $this->z));
    }

    /**
     * Get the radius from the centre
     *
     * @return float
     */
    public function getRadius()
    {
        return $this->radius;
    }
}